package cn.manyufun.myf.ui.main.contract;

import cn.manyufun.myf.bean.FollowListBean;
import cn.manyufun.myf.common.base.BaseModel;
import cn.manyufun.myf.common.base.BasePresenter;
import cn.manyufun.myf.common.base.BaseView;
import rx.Observable;

/**
 * Created by Xiao on 2018-01-31.
 */

public interface CollectionListContract {

    interface Model extends BaseModel {
        Observable<FollowListBean> loadFollowList(int pageIndex, int pageSize);
    }

    interface View extends BaseView {
        void returnFollowList(FollowListBean followListBean);

        void onLogout();
    }

    abstract static class Presenter extends BasePresenter<CollectionListContract.View, CollectionListContract.Model> {
        public abstract void loadFollowListRequest(int pageIndex, int pageSize);
    }
}
